package com.itheima.info.manager.dao;

import com.itheima.info.manager.domain.Student;

import java.util.ArrayList;

public interface BaseStudentDao {
    public abstract boolean addStudent(Student stu);

    //创建findAllStudent()方法,将Student[]数组返回.
    public abstract Student[] findAllStudent();

    public abstract boolean deleteStudent(String id);

    public abstract boolean updateStudent(Student stu);
    public abstract int getIndex(String id);
}
